module.exports = async (ctx,next) => {
    // 白名单
    ctx.set('Access-Control-Allow-Origin','*')
    ctx.set('Access-Control-Allow-Origin-Headers','Content-Type')
    ctx.set('Access-Control-Allow-Origin-Methods','GET,POST')
    await(next())
}